package org.finalministry.objects;

import org.finalministry.objects.enums.FlagsTagsNotesEnum;

/**
 * This class represents a flag, note or tag, depending of the type (enum) and
 * the targetObject (name of class)
 * 
 * @author admin
 * 
 */
public class FlagsTagsNotes {

	private Long id;
	private FlagsTagsNotesEnum type;
	private Long targetId;
	private String targetObject;
	private String name;
	private String text;

	public FlagsTagsNotes(FlagsTagsNotesEnum type, Long targetId, String targetObject, String name, String text) {
		super();
		this.type = type;
		this.targetId = targetId;
		this.targetObject = targetObject;
		this.name = name;
		this.text = text;
	}

	public FlagsTagsNotes() {

	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public FlagsTagsNotesEnum getType() {
		return type;
	}

	public void setType(FlagsTagsNotesEnum type) {
		this.type = type;
	}

	public Long getTargetId() {
		return targetId;
	}

	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getTargetObject() {
		return targetObject;
	}

	public void setTargetObject(String targetObject) {
		this.targetObject = targetObject;
	}

}
